package com.caishi.lkx.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BaseEntity;
import com.zzw.common.service.model.NameModel;
import com.zzw.common.service.model.base.SortModel;
import com.caishi.lkx.user.ienum.type.HotQuestionType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;


@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "sys_hot_question")
public class HotQuestionModel extends BaseEntity<HotQuestionModel> implements NameModel<HotQuestionModel,String> , SortModel<HotQuestionModel> {

    @Schema(name = "类型")
    private HotQuestionType type;
    @Schema(name="问题")
    private String name;
    @Schema(name="答案")
    private String answer;
    @Schema(name="排序")
    private Integer sort;
    @Schema(name="备注")
    private String remark;
    @TableField(exist = false)
    private String createdByName;
    @TableField(exist = false)
    @Schema(name = "附加信息")
    private Object data;



}
